var zixun = document.getElementsByClassName('panel-title-span1')[0]
var gonggao = document.getElementsByClassName('panel-title-span2')[0]
var zixunContent = document.getElementsByClassName('panel-zixun')[0]
var gonggaoContent = document.getElementsByClassName('panel-shop')[0]
// console.log(zixun);
// console.log(gonggao);
// console.log(zixunContent);
// console.log(gonggaoContent);
zixun.onclick = function (e) {
  zixunContent.style.display = 'block'
  gonggaoContent.style.display = 'none'
  zixun.style.borderBottom = 'solid 2px rgb(46, 143, 255)'
  gonggao.style.borderBottom = 'none'
}
gonggao.onclick = function (e) {
  zixunContent.style.display = 'none'
  gonggaoContent.style.display = 'block'
  gonggao.style.borderBottom = 'solid 2px rgb(46, 143, 255)'
  zixun.style.borderBottom= 'none'
}